package com.opages.mybatis.mapper;

import com.opages.mybatis.model.User;
import org.apache.ibatis.annotations.Param;

/**
 * @author daizhong.liu
 * @create 2021-11-14 17:38
 **/
public interface UserMapper {
    public Long insert(User user);
    public User selectById(@Param("id")Long id,@Param("username")String username);
    public void update(User user);
    public int deleteById(Long id);
    public User selectUserById(@Param("id")Long id);
}
